Method and Apparatus of a Fully-Pipelined Layered LDPC Decoder

ABSTRACT

The architecture is able to switch to Non-blocking check-node-update (CNU) scheduling architecture which has better performance than blocking CNU scheduling architecture. The architecture uses an Offset Min-Sum with Beta=1 with a clock domain operating at 440 MHz. The constraint macro-matrix is a spare matrix where each “1’ corresponds to a sub-array of a cyclically shifted identity matrix which is a shifted version of an identity matrix. Four core processors are used in the layered architecture where the constraint matrix uses a sub-array of 42 (check nodes)×42 (variable nodes) in the macro-array of 168×672 bits. Pipeline processing is used where the delay for each layer only requires 4 clock cycles.

CROSS-REFERENCE TO OTHER APPLICATIONS

[not applicable]

BACKGROUND OF THE INVENTION

Federal Communications Commission (FCC) has allotted a spectrum of bandwidth in the 60 GHz frequency range (57 to 64 GHz). The Wireless Gigabit Alliance (WiGig) is targeting the standardization of this frequency band that will support data transmission rates up to 7 Gbps. Integrated circuits, formed in semiconductor die, offer high frequency operation in this millimeter wavelength range of frequencies. Some of these integrated circuits utilize Complementary Metal Oxide Semiconductor (CMOS), Silicon-Germanium (SiGe) or GaAs (Gallium Arsenide) technology to form the dice in these designs. The receive path of the signal being transferred in the wireless channel in these communication system need to be compensated for various very dispersive conditions occurring in the wireless channel. Some of these conditions include multipath reflection, multipath resilience, ISI (Inter Symbol Interference), channel capacity, strategies for frequency diversity scheduling, etc.

CMOS (Complementary Metal Oxide Semiconductor) is the primary technology used to construct integrated circuits. N-channel devices and P-channel devices (MOS device) are used in this technology which uses fine line technology to consistently reduce the channel length of the MOS devices. Current channel lengths are 40 nm, the power supply of VDD equals 1.2V and the number of layers of metal levels can be 8 or more.

CMOS offers the computing power to perform many of the required compensation techniques requires overcoming the adverse conditions of the wireless channel. Yet, the computing power must be used in a power efficient manner to insure that the dissipated power is low enough to allow these important building blocks of the transceiver fabricated in CMOS to be used in mobile applications. This helps to insure that the energy drawn from the limited power contained in the battery is minimized while achieving the optimum performance.

Orthogonal frequency division multiplexing (OFMA) is a multi-carrier system that has been used in various communication Standards such as 802.11 (Wi-Fi), digital video broadcasting (DVB), asymmetrical digital subscriber lines (ASDL), etc. However, OFDM suffers from several deficiencies including peak to average power ratio (PAPR), sensitivity to amplifier nonlinearities, and effects of frequency offsets. Single carrier (SC) communication systems, however, overcome these several deficiencies and offer several benefits over OFDM systems.

SC communication systems is a single-carrier transmit signal that partitions their wideband channel into a large number of parallel narrowband subcarriers and has a lower PAPR resulting in design parameters in the transmit path that are simpler to achieve when compared to OFDM.

In the transmitter side as illustrated in FIG. 1, the input signals are mapped 1-2 into symbols, then the symbols are converted from a serial path into parallel blocks with a series to parallel (S/P) converter 1-3 so a cyclic prefix 1-4 can be added to each block. A parallel to serial (P/S) converter 1-5 recombines these blocks into a serial link which is zero padded and filtered 1-6. A digital to analog (D/A) converter 1-7 converts the digital serial link to an analog signal and presented to an analog transmitter 1-8. The signal is sent over the wireless channel 1-9 which time disperses the signal and introduces noise 1-21 into the signal. A receiver front end 1-10 receives the distorted wireless signal and converted to a digital signal with an analog to digital (A/D) converter 1-11. The signal is then filtered 1-12. The prefix is removed 1-13 and a S/P converter 1-14 generates a time domain of parallel block signals that are converter by an fast Fourier transform (FFT) 1-15 in to the frequency domain. A frequency domain equalizer 1-16 is applied to each of the transmitted subcarriers where the channel distortion caused by the channel is compensated for each subcarrier by the frequency domain equalizer. The FFT and frequency domain equalization requires less computation power than an equivalent performing time-domain equalization. An inverse FFT (IFFT) 1-17 generates the time domain representation of the frequency compensated transmitted signal to a de-mapper unit 1-18. The De-mapper feeds its output to a low density parity check (LDPC) decoder 1-22. The LDPC, invented by Gallager “R. G. Gallager, Low Density Parity Check Codes, Cambridge, Mass., MIT Press, 1963, is a well-known linear error code correcting code that approaches the Shannon limit and therefor called a capacity approaching code. After the LDPC, the recovered messages are then applied to a descrambler 1-23 to recover the symbols which are then applied to a P/S converter 1-19. The output signal is applied to the baseband circuitry of the receiver to extract the signals from the transmitter. The combination of the de-mapper, LDPC decoder and de-scrambler is contained within the dotted box 1-24 and will be described in more detail shortly.

A parity-check decoder allows error correction allows messages which are transmitted over a noisy transmission medium to be captured and recovered at a receiver with a noise threshold that can approach the upper bound of the channel noise. These messages comprise codewords [C] that are generated with additional bits for redundancy. These additional bits are called check bits and are placed in the codewords making each codeword distinct from another codeword. This error recovery decoder is required where the codewords as sent by the transmitter are altered in transit to the receiver. The medium which interconnects the transmitter to the receiver can be noisy and can alter the value of the bits contained within the codewords. An example of a hostile medium is a wireless connection between the transmitter and the receiver. Such a wireless medium suffers from noise of the environment, other transmitters in the local area competing for the limited available spectrum, multiple path reflections from buildings and structures, signal loss, and etc.

A Hamming distance separates the codewords from one another and is the number of bit positions that are different. For instance, the codeword [0 1 0 0 1 1 0 1] differs from the codeword [0 1 1 0 1 0 1 0] by three positions: 4^(th), 5^(th), and 8^(th). This large Hamming distance helps to identify the proper codeword during error recovery of a decoder since the decoder would pick the closest one after the algorithm has completed.

A spare matrix H called a parity-check matrix determines the codewords of the source message that satisfies the following equation:

HC=0  (EQ. 1)

over the Galois field GF(2).

$\begin{matrix} {H = {\begin{bmatrix} 1 & 1 & 0 & 1 & 0 & 0 \\ 0 & 1 & 1 & 0 & 1 & 0 \\ 1 & 1 & 1 & 0 & 0 & 1 \end{bmatrix} = \begin{bmatrix} A & I_{n - k} \end{bmatrix}}} & \left( {{EQ}.\mspace{14mu} 2} \right) \end{matrix}$

where n=length of codeword and k=bits in the message. I is the identity matrix and A The constraints for the parity-check matrix H are:

c ₀ +c ₁ +c ₃=0;

c ₂ +c ₃ +c ₅=0;

c ₁ +c ₂ +c ₃ +c ₆=0;  (EQ. 3)

A good received codeword at the transmitter satisfies the following equation:

Hy ^(T)=0  (EQ. 4)

where y^(T) is the received codeword at the receiver.

A generator is required to create these codewords at the transmitter. Gauss-Jordan elimination on H can be used to find the generator G by inverting [A I_(n-k)] to reach [I A⁻¹] or:

$\begin{matrix} {G = {\begin{bmatrix} 1 & 0 & 0 & 1 & 0 & 1 \\ 0 & 1 & 0 & 1 & 1 & 1 \\ 0 & 0 & 1 & 0 & 1 & 1 \end{bmatrix} = \begin{bmatrix} I & A^{- 1} \end{bmatrix}}} & \left( {{EQ}.\mspace{14mu} 5} \right) \end{matrix}$

The source message S is combined with the parity check bits to generate a codeword C for that source message S at the source. The interconnect medium contributes noise to the message such that the received message Y now contains noise N, or Y=C+N. The spare matrix is known at both the source and destination and the destination and is used to calculate the vector Z=HY=HC+HN at the receiver, and from EQ. 1, Z=HN. This last relationship is used by the decoding process to find the equation which solves HN=Z to determine the noise component n. This noise estimate is subtracted from the received signal y to recover the codeword C. Once the codeword, as sent by the transmitter is recovered at the receiver, the original source message S can be extracted and provided to the transmitter.

Several methods of decoding a LDPC code are available some use the hard values while others use the soft values. The binary erasure channel and bit-flipping decoding use the hard values to determine the value of the corrupted bit. The sum-product decoding method uses soft values. Soft values comprise the sign of the bit values and the magnitude of the bit values, while hard values only look at the sign of the bit value. These iteratively decoding algorithms like the sum-product algorithm are called by different names: the belief propagation algorithm, and the message passing algorithm.

A description of several decoders including the LDPC is provided. Data that has been transmitted satisfies an LDPC code uses a parity-check representation of a binary linear (n, k) block code C where C is the set of all binary n-tuples that satisfy the following (n-k) parity check equation,

bH ^(T)=0  (EQ. 6)

where H is a sparse (n-k) (n) parity check matrix. There are (n) observed bits b, (k) linearly independent generators or constraints in C. The densities of ones in the matrix should be sparse so that the iterative sum-product can be performed quickly to decode the information.

A Tanner graph of a parity check representation for an (8, 4, 4) code is presented in FIG. 2A. This Tanner graph shows a graphical representation of an elementary linear behavior realization of a linear (n, k) block code over F_(q) of a system and is defined by its trajectories of local constraints. There are (n) variable nodes, (n-k) constraint (zero-sum) nodes which are linearly independent generators in C. The number of edges in the Tanner graph is equal to the number of ones in the parity-check matrix H. These trajectories are the codewords which satisfy those particular constraints. In this graphical representation you could have an observed symbol (n) within the code word. A hidden symbol (u) which represents the state. And you could have the constraints which are the linear homogeneous equations on the subset of the variables.

First the elementary realizations of linear (n, k) block codes over a finite field F_(q) are illustrated. The code C is the set of all linear combinations Σ_(i)u_(i)g_(i) over the finite field where the set of generators g_(j) where j is less than or equal to k.

For the (8, 4, 4) code, G is the generator matrix and is shown in EQ. 7, where the n is the number of bits in the codeword, m is the number of parity-check equations, and k is the number of information bits. The code for G is:

$\begin{matrix} {G = \overset{b_{0\mspace{14mu}}b_{1}\mspace{14mu} b_{2}\mspace{14mu} b_{3\mspace{14mu}}b_{4\mspace{14mu}}b_{5\mspace{14mu}}b_{6}\mspace{14mu} b_{7}}{\begin{bmatrix} 1 & 1 & 1 & 1 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 1 & 1 & 0 & 1 & 0 \\ 0 & 0 & 1 & 1 & 1 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 1 & 1 & 1 \end{bmatrix}}} & \left( {{EQ}.\mspace{14mu} 7} \right) \end{matrix}$

the columns are labeled b₀ . . . b₇ along the top, while the rows would be labeled (not shown) as c₁, c₂, c₃, and c₄ from top to bottom. FIG. 2A illustrates the parity-check realization of the generator matrix EQ. 7. The (n) variable nodes are shown on the left range from b₀ to b₇ and the (n-k) constraints range from c₁ to c₄. Each of the blocks with the (+) calculates the exclusive or of the inputs such that they should equal to zero if the codeword is unaltered.

The set of bits in the j-th parity check equation of the code is determined using the generator matrix G and setting the constraint equations in columns b₀ . . . b₇ equal to the summation of those positions where the matrix has a one for the state variables; c₁, c₂, c₃, and c as:

b ₀ =c ₁;

b ₁ =c ₁ +c ₂;

b ₂ =c ₁ +c ₃;

b ₃ =c ₁ +c ₂ +c ₃;

b ₄ =c ₂ +c ₃ +c ₄;

b ₅ =c ₃ +c ₄;

b ₆ =c ₂ +c ₄;

b ₇ =c ₄;  (EQ. 8)

The Tanner graph of the 4^(th) bit relation of EQ. 8 is depicted in FIG. 2A.

The parity-check equations are determined from EQ. 7 and provides the 4 constraint linear homogeneous equations that summing each row as a function of the 8 constraint variables x₀ . . . x₇ to zero:

x ₀ +x ₁ +x ₂ +x ₃=0;

x ₁ +x ₃ +x ₄ +x ₆=0;

x ₂ +x ₃ +x ₄ +x=0;

x ₄ +x ₅ +x ₆ +x ₇=0;  (EQ. 9)

At the start of the first cycle, the sum product decoding of LDPC broadcast the bit nodes b_(i) to the check-nodes c_(i). For example, the b₀ equals the intrinsic value y₀ received from the channel, the b₁ equals the intrinsic value y₁ received from the channel, the b₂ equals the intrinsic value y₂ received from the channel, and the b₃ equals the intrinsic value y₃ received from the channel as illustrated in FIG. 2B. Each of the values b_(i) received at parity-check nodes c_(i) are used in the parity-check equations to further the calculations. The arrow 2-10 indicates that the movement of data is from the bit-nodes 2-2 to the constraint-nodes 2-3.

For instance in FIG. 2C, the input values: b₀, b₁, and b₂ are sent to parity-check node c₁ and are used to calculate the value of c′₁. Once calculated, the parity-check c₁ 2-5 sends the result to the bit node b₃ 2-4. After bit node b₃ receives the value of c′₁ calculated by the parity-check c₁. The bit-node b₃ stores the message of c′₁ as E_(1,3) at bit-node b₃. The arrow 2-11 indicates that the movement of data is from the constraint-node 2-5 to the bit-node 2-4.

In FIG. 2D, the input values: b₁, b₄, and b₆ are sent to parity-check node c₂ and are used to calculate the value of c′₂. Once calculated, the parity-check c₂ 2-6 sends the result to the bit node b₃ 2-4. After bit node b₃ receives the value of c′₂ calculated by the parity-check c₂. The bit-node b₃ stores the message of c′₂ as E_(2,3) at bit-node b₃. The arrow 2-11 indicates that the movement of data is from the constraint-node 2-6 to the bit-node 2-4.

In FIG. 2E, the input values: b₂, b₄, and b₅ are sent to parity-check node c₃ and are used to calculate the value of c′₃. Once calculated, the parity-check c₃ 2-7 sends the result to the bit node b₃ 2-4. After bit node b₃ receives the value of c′₃ calculated by the parity-check c₃. The bit-node b₃ stores the message of c′₃ as E_(3,3) at bit-node b₃. The arrow 2-11 indicates that the movement of data is from the constraint-node 2-7 to the bit-node 2-4.

A majority-rule is presented in FIG. 2F. Node b₃ performs a modulo 2 addition on the values of E_(1,3), E_(2,3) and E_(3,3). In a first case, the result generates a “1” then the extrinsic value of y₃ must be a “1” to maintain that overall parity-check of all inputs: E_(1,3), E_(2,3) and E_(3,3), and y₃ must generate a “0” to insure that the parity-check condition is maintained. In a second case, if the modulo 2 addition on the values of E_(1,3), E_(2,3) and E_(3,3) results in a “0”, then the extrinsic value of y₃ must be a “0” to maintain that overall parity-check of all inputs: E_(1,3), E_(2,3) and E_(3,3), and y₃ must generate a “0” to insure that the parity-check condition is maintained. In both cases, if the parity-check condition is maintained, then the extrinsic value is correct. If the parity-check condition is maintained for all bit-node b₀-b_(n), then EQ. 1 is satisfied and the iterative cycle can stop. Otherwise, in the next cycle all the values of the previous cycle regarding the calculation of the modulo 2 addition of all values of E_(j,i), at a particular bit-node b_(i) is substituted for y_(i) and the next cycle begins.

The extrinsic message c′_(j) from the parity-check node j to bit-node i is the probability that bit i causes the parity-check at parity-node constraint j to be satisfied when bit i=1. This probability is given as:

$\begin{matrix} {P_{j,i}^{1} = {\frac{1}{2} - {\frac{1}{2}{\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; \left( {1 - {2P_{c^{\prime}}^{1}}} \right)}}}} & \left( {{EQ}.\mspace{14mu} 10} \right) \end{matrix}$

where P_(c′) ¹ is the current estimate for the bit=1 during the current cycle. The product is taken over the message edges between the bit-node and all connected check-nodes c_(i). The probability that the parity-check equation is satisfied when bit i=0. This probability is given as:

$\begin{matrix} {P_{j,i}^{0} = {{1 - P_{j,i}^{1}} = {\frac{1}{2} + {\frac{1}{2}{\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; \left( {1 - {2P_{c^{\prime}}^{1}}} \right)}}}}} & \left( {{EQ}.\mspace{14mu} 11} \right) \end{matrix}$

The log likelihood ratios (LLR) E_(j,i) is the LLR of EQ. 11 or:

$\begin{matrix} {E_{j,i} = {{{LLR}\left( P_{j,i}^{1} \right)} = {\log\left( \frac{1 - P_{j,i}^{1}}{P_{j,i}^{1}} \right)}}} & \left( {{EQ}.\mspace{14mu} 12} \right) \end{matrix}$

where the log is log_(e) and using EQ. 10 gives:

$\begin{matrix} {E_{j,i} = {\log\left( \frac{\frac{1}{2} + {\frac{1}{2}{\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; \left( {1 - {2P_{c^{\prime}}^{1}}} \right)}}}{\frac{1}{2} - {\frac{1}{2}{\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; \left( {1 - {2P_{c^{\prime}}^{1}}} \right)}}} \right)}} & \left( {{EQ}.\mspace{14mu} 13} \right) \end{matrix}$

With the aid of EQ. 12,

$\begin{matrix} {\frac{1 - P_{j,i}^{1}}{P_{j,i}^{1}} = _{j,i^{\prime}}^{M}} & \left( {{EQ}.\mspace{14mu} 14} \right) \end{matrix}$

solving for P_(j,i) ¹ gives:

$\begin{matrix} {P_{j,i^{\prime}}^{\prime} = {\frac{1}{1 + _{j,i^{\prime}}^{\prime}} = \left( \frac{\Pr \left\lbrack {c^{\prime} = \left. 0 \middle| y \right.} \right\rbrack}{\Pr \left\lbrack {c^{\prime} = \left. 1 \middle| y \right.} \right\rbrack} \right)}} & \left( {{EQ}.\mspace{14mu} 15} \right) \end{matrix}$

where Pr[c′=0|y] is the probability of event [c′=0] given the event y and Pr[c′=1|y] is the probability of event [c′=1] given the event y. Determining (1−2P_(c′) ¹) gives:

$\begin{matrix} {\left( {1 - {2P_{c^{\prime}}^{1}}} \right) = {{1 - \frac{2}{1 + _{j,i^{\prime}}^{M}}} = {\frac{_{j,{i^{\prime} - 1}}^{M}}{_{j,{i^{\prime} + 1}}^{M}} = {\tanh \left( \frac{M_{j,i^{\prime}}}{2} \right)}}}} & \left( {{EQ}.\mspace{14mu} 16} \right) \end{matrix}$

Substituting EQ. 16 into EQ. 13 gives:

$\begin{matrix} {E_{j,i} = {\log\left( \frac{\frac{1}{2} + {\frac{1}{2}{\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; {\tanh \left( \frac{M_{j,i^{\prime}}}{2} \right)}}}}{\frac{1}{2} - {\frac{1}{2}{\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; {\tanh \left( \frac{M_{j,i^{\prime}}}{2} \right)}}}} \right)}} & \left( {{EQ}.\mspace{14mu} 17} \right) \end{matrix}$

The following is a fundamental logarithmic identity:

$\begin{matrix} {{2\mspace{11mu} {\tanh^{- 1}\left( \frac{M_{j,i^{\prime}}}{2} \right)}} = {\log\left( \frac{1 + \left( \frac{M_{j,i^{\prime}}}{2} \right)}{1 - \left( \frac{M_{j,i^{\prime}}}{2} \right)} \right)}} & \left( {{EQ}.\mspace{14mu} 18} \right) \end{matrix}$

EQ. 18 can be used in EQ. 17 to provide:

$\begin{matrix} {E_{j,i} = {2\mspace{11mu} {\tanh^{- 1}\left( {\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; {\tanh \left( \frac{M_{j,i^{\prime}}}{2} \right)}} \right)}}} & \left( {{EQ}.\mspace{14mu} 19} \right) \end{matrix}$

E_(j,i) is the extrinsic LLR message from each check-node c_(j) to a particular bit-node b_(i) which also receives an a priori LLR from the i^(th) bit position of the input codeword y_(i). The total LLR of the probability include all the check-nodes satisfying one of the parity-check equations and the i^(th) bit position of the input codeword y_(i):

L _(i)=LLR(P _(i) ¹)=r _(i)+Σ_(jεA) _(i) E _(j,i)  (EQ. 20)

where r_(i) is the LLR of the a priori of the i^(th) bit position of the input codeword y_(i):

$\begin{matrix} {r_{i} = \left( \frac{\Pr \left\lbrack {c_{i} = \left. 0 \middle| y \right.} \right\rbrack}{\Pr \left\lbrack {c_{i} = \left. 1 \middle| y \right.} \right\rbrack} \right)} & \left( {{EQ}.\mspace{14mu} 21} \right) \end{matrix}$

The message M_(i,j) sent from a bit-node b_(i) to check-nodes c′ indicates the LLR excluding the check-node c_(j) and is given as:

M _(i,j) =−r _(i)+Σ_(j≠j′) E _(j′,i)  (EQ. 22)

For a additive white Gaussian noise (AWGN) channel, the a priori LLR is given by

$\begin{matrix} {r_{i} = {{4y_{i}\frac{E_{s}}{N_{o}}} = \frac{2y_{i}}{\sigma^{2}}}} & \left( {{EQ}.\mspace{14mu} 23} \right) \end{matrix}$

Log likelihood ratios (LLR) are used in the sum-product algorithm. Let R have the elements (0, 1) in the GF (2) field. The LLR of a binary random variable R, L(r), is then defined as:

$\begin{matrix} {{L\left( r_{i} \right)} = {\log \left( \frac{\Pr \left\lbrack {r_{i} = \left. 0 \middle| y \right.} \right\rbrack}{\Pr \left\lbrack {r_{i} = \left. 1 \middle| y \right.} \right\rbrack} \right)}} & \left( {{EQ}.\mspace{14mu} 24} \right) \end{matrix}$

L(r_(i)) then indicates the probability that the random variable R takes on the value r_(i). The magnitude of the log-likelihood ratio L(r_(i)) determines the so called “soft” value (α_(j,i′)) of the random variable R while the hard decision is determined by the sign (β_(j,i′)=|M_(j,i)|) of the magnitude |L(r_(i))| and is the reliability of this decision.

Substituting

$\begin{matrix} {{{\tanh \mspace{11mu} \left( \frac{M_{j,i^{\prime}}}{2} \right)} = {\left( \alpha_{j,i^{\prime}} \right)\mspace{11mu} {\tanh \left( \frac{\left( \beta_{j,i^{\prime}} \right)}{2} \right)}}}{{\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; {\tanh \left( \frac{M_{j,i^{\prime}}}{2} \right)}} = {\left\lbrack {\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; \alpha_{j,i^{\prime}}} \right\rbrack\left\lbrack {\prod\limits_{c_{i}^{\prime} \neq c_{j}}{\tanh \left( \frac{\beta_{j,i^{\prime}}}{2} \right)}} \right\rbrack}}} & \left( {{EQ}.\mspace{14mu} 25} \right) \end{matrix}$

Placing EQ. 25 into EQ. 19 gives:

$\begin{matrix} {E_{j,i} = {\left\lbrack {\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; \alpha_{j,i^{\prime}}} \right\rbrack 2\mspace{11mu} \tanh^{- 1}\; \log^{- 1}\; {\log\left\lbrack {\prod\limits_{c_{i}^{\prime} \neq c_{j}}{\tanh \left( \frac{\beta_{j,i^{\prime}}}{2} \right)}} \right\rbrack}}} & \left( {{EQ}.\mspace{14mu} 26} \right) \end{matrix}$

distributing the log⁻¹ log term provides:

$\begin{matrix} {E_{j,i} = {\left\lbrack {\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; \alpha_{j,i^{\prime}}} \right\rbrack 2\mspace{11mu} \tanh^{- 1}\; {\log^{- 1}\;\left\lbrack {\prod\limits_{c_{i}^{\prime} \neq c_{j}}{\log \mspace{11mu} {\tanh \left( \frac{\beta_{j,i^{\prime}}}{2} \right)}}} \right\rbrack}}} & \left( {{EQ}.\mspace{14mu} 27} \right) \end{matrix}$

The sum-product algorithm of the LDPC can be further simplified by partitioning the LLR ratio into a magnitude component and a sign component. Furthermore, a product term can be replaced with an additive term by utilizing logarithms.

$\begin{matrix} {{\psi \left( \beta_{j,i^{\prime}} \right)} = {\log \; \left( {\tanh {\frac{\beta_{j,i^{\prime}}}{2}}} \right)}} & \left( {{EQ}.\mspace{14mu} 28} \right) \end{matrix}$

and solving for β_(j,i′) in EQ. 28 provides:

β_(j,i′)=2 tan h ⁻¹ log⁻¹[ψ(β_(j,i′))]  (EQ. 29)

substituting EQ. 28 and EQ. 29 into EQ. 27 leaves:

$\begin{matrix} {{E_{j,i} = {\left\lbrack {\prod\limits_{c_{i}^{\prime} \neq c_{j}}\; \alpha_{j,i^{\prime}}} \right\rbrack 2\mspace{11mu} \tanh^{- 1}\mspace{11mu} {\log^{- 1}\left\lbrack {\sum\limits_{c_{i}^{\prime} \neq c_{j}}\; {\psi \left( \beta_{j,i^{\prime}} \right)}} \right\rbrack}}}{and}{{\tanh {\frac{\beta_{j,i^{\prime}}}{2}}} = {\log^{- 1}{\psi \left( \beta_{j,i^{\prime}} \right)}}}} & \left( {{EQ}.\mspace{14mu} 28} \right) \end{matrix}$

where solving for β_(j,i′) gives:

E _(j,i)=−[Π_(c′) _(i) _(≠c) _(j) α_(j,i′)]ψ[Σ_(c′) _(i) _(≠c) _(j) ψ(β_(j,i′))]  (EQ. 29)

The final equations that are used are arrived at by setting R_(j,i)=E_(j,i); β_(j,i′)=L(q_(j,i′)); α_(j,i′)=sign L(q_(j,i′)); in EQ. 29:

S _(j,i)=[Π_(c′) _(i) _(≠c) _(j) α_(j,i′)]=Π_(c′) _(i) _(≠c) _(j) [sign L(q _(j,i′))]  (EQ. 30)

and

A _(j,i)=[Σ_(c′) _(i) _(≠c) _(j) ψ(β_(j,i′))]=Σ_(c′) _(i) _(≠c) _(j) ψ(L(q _(j,i′)))  (EQ. 31)

R _(j,i) =−S _(j,i) ψ[A _(j,i)]  (EQ. 32)

setting Σ_(jεA) _(i) E_(j,i)=L(q_(j,i)); r_(i)=R_(j,i); L_(i)=L(q_(j))=M_(i,j); EQ. 20 becomes:

L(q _(j,i))=L(q _(j))−R _(j,i)  (EQ. 33)

Using EQ. 22, and EQ. 23, the message M_(j,i) sent from a bit-node b_(i) to check-nodes c′ indicates the LLR excluding the check-node c_(j) and is given as:

$\begin{matrix} {{L\left( q_{j} \right)} = {{- \frac{2y_{i}}{\sigma^{2}}} + {\sum\limits_{j = j^{\prime}}\; R_{j,i}}}} & \left( {{EQ}.\mspace{14mu} 34} \right) \end{matrix}$

The received bits represent probabilities at each bit node or input node. These bit-nodes are combined with the constraints-nodes in a Tanner graph to perform the belief propagation procedure. In the first iteration, these probabilities are passed from the bit-nodes to the constraint-nodes and are updated according to the parity check constraints. These values become updated and the new probabilities are send back to the symbol nodes which also performs the parity check constraint. At the bit-nodes, the values are again updated and if EQ. 4 is satisfied, then the process stops; otherwise, the recalculated probabilities at each bit-node or input nodes are passed from these bit-nodes to the constraint-nodes again in additional iterative manner and are updated according to the parity check constraints. These newer values become updated and the newer probabilities are send back to the symbol nodes which also performs the parity check constraint again. Then, at the bit-nodes, the values are again updated and if EQ. 4 is satisfied, the process is stopped and the correct codewords have been determined. The source message can then be extracted from the codeword.

FIG. 3A and FIG. 3B illustrate a generator realization and parity-check realization for the (8, 4, 4) code. FIG. 3A illustrates the b₁ to b₇ bit values 2-2 broadcast their value to the parity-check 2-3 so that these blocks can compute the sum-product constraint. Once the sum-product constraint has been computed, the network then causes the newly calculated c₁ to c₄ parity bit values 2-5 to send their value to the (n) symbols 2-4. The majority rule calculates the bit values in a second cycle. The flip from a generator realization to a parity-check realization is understood by comparing FIG. 3A and FIG. 3B. Now the (n) symbols are broadcast back to the (n-k) constraints once the (n-k) constraints have calculated their value, the network flips back to a generator realization and continually does an iterative loop until the number of loops is exceeded beyond a set value or the values of the (n) symbols x₀ through x₇ have arrived at their final value.

FIG. 4A illustrates the (n) symbols being in the broadcast mode are coupled to an interleaver block also known as a π network. The interleaver block then couples to the (n-k) constraints being in the zero-sum mode. The number of ports arriving from the (n) symbols to the interleaver is P_(L) while the number of ports between the interleaver and the (n-k) constraints is P_(R). The interleaver requires that P_(L) equals P_(R) to operate properly.

FIG. 4B illustrates a trellis block diagram for another decoding system called the Belief Propagation decoder and algorithm. This figure illustrates the flow of messages and computations using a sum-product algorithm to calculate the values. The values x₀ to x_(n) generate the input messages i₀-i_(n) which are the intrinsic a posteriori probabilities (APP) vectors derived from the observation. The output messages e_(o)-e_(n) are the extrinsic APP vectors and are provided at x₀ to x_(n). The blocks C_(o)-C_(n) 4-2 capture the intrinsic data and proceeds to independently calculate the forward (α₁ to α_(n)) and backwards (β_(n) to β₁) directions simultaneously. In the forward direction, the messages flows from C₀ to C_(n) while in the backwards direction the messages flows from C_(n) to C₀. Once the forward message reaches C_(n) and the backward message reaches C₀, the BCJR algorithm is complete and the extrinsic data is output to x₀-x_(n). This algorithm uses a sum-product rule within each of the blocks C_(o)-C_(n) 4-2.

BRIEF SUMMARY OF THE INVENTION

Various embodiments and aspects of the inventions will be described with reference to details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative of the invention and are not to be construed as limiting the invention. Numerous specific details are described to provide a thorough understanding of various embodiments of the present invention. However, in certain instances, well-known or conventional details are not described in order to provide a concise discussion of embodiments of the present inventions.

Another inventive embodiment of one of the inventions is to provide an LDPC decoder that can sustain performance levels for a 60 GHz system and dissipates low power in an integrated circuit, for example, in a chip fabricated using the CMOS technology. The embodiment of non-block check-node-update (CNU) scheduling uses a plurality of processors configured in a pipeline. The pipeline calculates the LLR and corrects corrupted symbols of a 60 GHz communication system. The pipeline uses the results that the pipeline had calculated two or more layers earlier. This inventive feature allows the LLR system to perform more iterations in a given time period thereby improving the BER of the LLR system.

Another embodiment of one of the present inventions is an apparatus for communication systems comprising: a first processor of a plurality of processors; a last processor of the plurality of processors; remaining processors of the plurality of processors coupled in series between the first processor and the last processor; an output of the last processor coupled to an input of a de-multiplexor; a plurality of memories each coupled to a corresponding output of the de-multiplexor; each input of a first multiplexor coupled to an output of a corresponding memory of the plurality of memories; and an output of the first multiplexor coupled to a first input of the first processor, further comprising: a plurality of registers each storing a different portion of a plurality of data symbols; each input of a second multiplexor coupled to an output of each corresponding the plurality of registers; and an output of the second multiplexor coupled to a second input of the first processor, wherein the plurality of registers configured to behave as shift registers when storing incoming symbols, wherein an iteration requires a number of clock cycles equal to a product of a count of the plurality of processors and a count of the plurality of registers, wherein a fraction of the data symbols are randomly corrupted symbols, wherein a log-likelihood ratio (LLR) is generated at the output of the last processor, wherein the LLRs correct the randomly corrupted symbols. The apparatus wherein one of the plurality of memories is configured to be enabled or wherein each of the plurality of processors perform a different function.

Another embodiment of one of the present inventions is a method of improving characteristics of a communication system comprising the steps of: coupling a plurality of processors in a pipeline structure; coupling an output of a last processor in the pipeline structure to an input of a memory; coupling an output of the memory to an input of a first processor in the pipeline structure; applying a stored result read from memory to a first processor in the pipeline; calculating a calculated result of the stored result at the output of the last processor; and storing the calculated result into the memory, wherein the stored result was calculated by the pipeline two or more calculated results earlier, further comprising the steps of: distributing equal portions of a plurality of data symbols among a corresponding plurality of registers; coupling each input of a multiplexor to an output of each one of the corresponding plurality of registers; and coupling an output of the multiplexor to a second input of the first processor in the pipeline structure, wherein an iteration requires a number of clock cycles equal to a product of a count of the plurality of processors and a count of the plurality of registers, wherein a fraction of the data symbols are randomly corrupted symbols, wherein a log-likelihood ratio (LLR) is generated at the output of the last processor, wherein the LLRs correct the randomly corrupted symbols. The method wherein one of the plurality of memories is configured to be enabled, wherein the plurality of registers configured to behave as shift registers when storing incoming symbols, wherein each of the plurality of processors perform a different function.

Another embodiment of one of the present inventions is an apparatus for communication systems comprising: a plurality of processors coupled in a pipeline structure; an output of a last processor in the pipeline structure coupled to an input of a de-multiplexor; a plurality of memories each coupled to a corresponding output of the de-multiplexor; each input of a first multiplexor coupled to an output of a corresponding memory of the plurality of memories; an output of the first multiplexor coupled to a first input of a first processor in the pipeline structure; a plurality of registers each storing a different portion of a plurality of data symbols; each input of a second multiplexor coupled to an output of each corresponding the plurality of registers; and an output of the second multiplexor coupled to a second input of the first processor, wherein each of the plurality of processors perform a different function, and a log-likelihood ratio (LLR) is generated at the output of the last processor.

The inventive embodiment of the LDPC supports 4 modes: Rate 1/2, Rate 5/8, Rate 3/4, Rate 13/16. The architecture is able to switch to non-blocking CNU scheduling architecture which has better performance than the blocking CNU scheduling architecture. The architecture uses an Offset Min-Sum with Beta equals 1 with a clock domain operating at 440 MHz. Four core processor are used in the architecture where the constraint matrix uses an sub-array of 42 (check nodes)×42 (variable nodes) in the macro-array of 168×672 bits. The constraint macro-matrix is a spare matrix where each “1’ corresponds to a sub-array of a cyclically shifted identity matrix which is a shifted version of an identity matrix. Pipeline processing is used where the delay for each layer is 4 clock cycles. A 5-bit input channel LLR is used where symmetrical saturation is used for all input, internal nodes and output. To minimize storage, only the min1, min2, min1_index, prod_sign and sign are stored for each layer. For Rate 1/2, there are 8 layers which are compressed into 4 effective layers. For Rate 5/8, there are 6 layers which are compressed into 4 effective layers. The total gate count is 270 k gates.

BRIEF DESCRIPTION OF THE DRAWINGS

Please note that the drawings shown in this specification may not necessarily be drawn to scale and the relative dimensions of various elements in the diagrams are depicted schematically. The inventions presented here may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be through and complete, and will fully convey the scope of the invention to those skilled in the art. In other instances, well-known structures and functions have not been shown or described in detail to avoid unnecessarily obscuring the description of the embodiment of the invention. Like numbers refer to like elements in the diagrams.

FIG. 1 depicts the transmitter and receiver blocks diagrams for a SC system.

FIG. 2A shows a Tanner parity-check realization of a (8, 4, 4) code.

FIG. 2B illustrates each bit node broadcasting the input value to the constraint node network.

FIG. 2C-E depicts a constraint node performing a sum-product and sending the result to a bit-node.

FIG. 2F shows a Tanner parity-check realization of a (8, 4, 4) code.

FIG. 2G illustrates each bit node broadcasting the input value to the constraint node network during the second cycle.

FIG. 3A shows a Tanner generator realization of a (8, 4, 4) code.

FIG. 3B depicts a Tanner parity-check realization of a (8, 4, 4) code.

FIG. 4A illustrates a error correction system using an interleaver coupling the symbols to the constraints.

FIG. 4B presents a block diagram Belief Propagation network for error correction.

FIG. 5 shows a block diagram of the receiver path containing a LDPC decoder in accordance with an embodiment of one of the present inventions.

FIG. 6A depicts a table describing rate 1/2 LDPC code H matrix.

FIG. 6B illustrates a table describing a collapsed rate 1/2 LDPC code H matrix in accordance with an embodiment of one of the present inventions.

FIG. 6C presents several examples of cyclic-permutation submatrixes.

FIG. 7A depicts a blocking check-node-update scheduling in accordance with an embodiment of one of the present inventions.

FIG. 7B depicts a non-blocking check-node-update scheduling in accordance with an embodiment of one of the present inventions.

FIG. 8A illustrates a more detailed blocking check-node-update scheduling shown over several clock cycles in accordance with an embodiment of one of the present inventions.

FIG. 8B depicts a more detailed non-blocking check-node-update scheduling shown over several clock cycles in accordance with an embodiment of one of the present inventions.

FIG. 9 presents a non-blocking check-node-update scheduling block diagram in accordance with an embodiment of one of the present inventions.

FIG. 10A depicts a table describing a layered architecture with three cycle clock delay per layer in accordance with an embodiment of one of the present inventions.

FIG. 10B illustrates a table describing an architecture with a non-blocking CNU scheduling in accordance with an embodiment of one of the present inventions.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 5 depicts the decode path of the SC-LDPC path. The bit stream is de-Mapped by the QAM demapper 1-18 and translates the constellation points into binary values which are applied to the LDPC decoder 1-22. The recovered bit-nodes are applied to a de-scrambler 1-23 and forwarded to the baseband processor 5-3 and the SC header decoder 5-1 and the header error detector 5-2. Symbols transmitted at a source and received by a receiver at a destination usually arrive with errors (corrupted). The signal is randomly altered by the thermal noise and radiated electromagnetic noise from other sources picked up by the receiver. Redundancy is included in the symbols to allow the LDPC to correct any corrupted symbols.

The IEEE 802.1 lad specification specifies four Low-Density Parity-Check (LDPC) codes, each of a different rate but with a common codeword size of 672 bits. Each of the parity-check matrices H, such as that described in EQ. 2, is partitioned into square submatrices of size Z×Z. where Z=64. FIG. 6A presents a rate 1/2 LDPC code matrix H 6-1. H has 336 rows×672 columns. Other codes include: Rate-3/4 LDPC code matrix H=168 rows×672 columns, Z=42; Rate-13/16 LDPC code matrix H=126 rows×672 columns, Z=42; and Rate-5/8 LDPC code matrix H=252 rows×672 columns, Z=42.

The submatrices are either cyclic-permutations of the identity matrix, or null submatrices with all zero entries. A location with integer i denotes the cyclic-permutation submatrix Pi obtained from the Z×Z identity matrix by cyclically shifting the columns to the right by i elements. The matrix P₀ is the Z×Z identity matrix. An empty location denotes a null submatrix of size Z×Z. Examples of P₀, P₁, and P₃ with Z=4 are provided in FIG. 6C. Matrix 6-4 is the unity matrix where i=0; matrix 6-5 where i=1 shifts the “1” bit right by one unit from the unity matrix. Matrix 6-6 where i=3 shifts the “1” bit right by three positions from the unity matrix.

The matrix in FIG. 6A presents a rate 1/2 LDPC code matrix H 6-1. H has 336 rows×672 columns and can be reduced by combining layer 0 and layer 2, layer 1 and layer 3, layer 4 and layer 6, and layer 5 and layer 7 to arrive at the H matrix 6-7 presented in FIG. 6B. The previous 8 layers of the matrix 6-1 has been reduced to only four layers (0-3) in the matrix 6-7 shown in FIG. 6B.

Hardware to calculate the check node update for the determination of LLR is required to perform these operations for each of the four layers. Each layer must operate on 16 64×64 matrixes. A hardware unit comprising 16 separate units can be used, but the transistor gate count would be massive, the clocking network to synchronize the circuit would be power dissipative, and a large portion of the semiconductor chip area would be used. A hardware unit comprising single unit can be used, but then the calculations would need to be run repetitively 16 times. The area usage would be reduced but the time to perform all 16 repetitions would take too long. A compromise of using a hardware unit of 4 separate units was determined which allows moderate area usage, low power dissipation, and adequate performance. Thus, the 16 columns of matrices are partitioned into 4 groups: group 1; group 2; group 3; and group 4, as illustrated in the reduced H matrix 6-7 shown in FIG. 6B.

The check node update determines the LLR, see EQ. 34. Several steps are necessary to perform the calculation of the LLR on a layer by layer basis. The output results of the current layer are applied to the next sequential layer in series to improve the corrupted symbols that were transmitted in over noisy channel. The design uses four layers.

As illustrated in the matrix 6-7 in FIG. 6B, after 4 layers, (layers 0-3), the LDPC has performed one iteration 6-2 and will start the next iteration 6-3. If the result of EQ. 1 is satisfied then the iterative cycle can stop; otherwise, another iteration is performed. If the iteration had stopped then the calculations were performed on each of the four layers in the H matrix just once. The calculations are computational intensive and the 802.1 lad specification has specified timing criteria to perform the LLR calculation. The iteration is partitioned into four groups and each group is partitioned into four equal time components of 2.27 nsec as clocked by flip-flops at each boundary.

A processor is used in each of these four equal time slots where the output of a first processor is serially coupled to the input of the second processor, the output of a second processor is serially coupled to the input of the third processor, and the output of a third processor is serially coupled to the input of the fourth processor forming a pipeline structure. Each of these processors has a critical path which is defined as the longest delay of that particular processor. All processors must meet the worst case delay of the longest logic gate sequence of the state machine in that particular processor, that is, for this system to communicate at 60 GHz using the IEEE 802.1 lad protocol, the allowed worst case propagation time delay of each of the processors is 2.27 nsec. The pipeline is the hardware of the system which is partitioned into four processors each having a different function. The four processor functions of the state machine are: 1) a first processor to control where memory is read to extract a previous calculated results and the value of the received input; 2) a second processor to subtract, saturate 2's complement to magnitude, and subtract data terms (Offset Min-sum max(0, x-beta); 3) a third processor to calculate the min (find min1, min2, min1_index for each layer); and 4) a fourth processor to assemble the min together (collecting and converting magnitude to 2's compliment. For a communication system to be operable to 60 GHz, the clock rate needs to be 440 MHz.

There one pipeline to generate the LLR of all four groups. This pipeline must be shared with the three other groups in order to perform the calculation. And as mentioned earlier the pipeline is partitioned into four processor functions segregated by clocked flip-flops which form the pipeline. When group 1 of layer −1 is being manipulated by the first processor function, a clock cycle of 2.27 ns passes before the results are latched. At that point, the first processor function becomes free to operate on group 2. Meanwhile the result in the first flip-flop of group 1 is applied to the second of four processor functions to perform the next calculation then 2.27 ns later the results are latched in a second set of flip-flops. Simultaneously, group 2 is being manipulated by the first of four processor functions. A clock cycle of 2.27 ns passes before both of these results are latched. Then, the third group is manipulated by the first processor function, a clock cycle of 2.27 ns passes before the results are latched. Simultaneously, group 1 is in the third processor function, group 2 is in the second processor function. Then, the last (fourth) group is manipulated by the first processor function, a clock cycle of 2.27 ns passes before the results are latched. Simultaneously, group 1 is in the fourth processor function, group 2 is in the third processor function, and group 3 is in the second processor function. This allows maximum sharing of the hardware/software to perform the calculation of the LLR. Note the wait period delay 7-5 of three clock cycles in FIG. 7A. This is required to allow the fourth group to complete the last of four calculations.

FIG. 7A illustrates how the log likelihood ratios from a first layer are propagated to the next layer. This is called the blocking check-node-update (CNU) scheduling. The LLR from layer −1 is applied to layer 0 as indicated by 7-3. Then the pipeline sequence provided in the previous paragraph now occurs within layer 0. Each layer takes 7 clock cycles. An iteration comprises the completion of four layers before the next iteration can start. From FIG. 7A, the iteration requires 28 clock ticks before the next iteration can occur.

An innovative and inventive embodiment is illustrated in FIG. 7B. This is called the non-blocking CNU scheduling. The calculation of the LLR is found to be additive in nature. Thus, it is not required to wait until the previous group LLR results are calculated. Instead, the results 7-4 from layer −1 which is two layers earlier can be used in layer 1 to overcome the wait period delay 7-5 as illustrated in FIG. 7A. This allows group 1 of layer 1 to use the first of four processor functions as soon as group 4 of layer 0 is finished using the first of four processor functions. This innovative feature completes the iteration in 16 clock ticks and allows the next iteration to occur immediately.

FIG. 8A illustrates the Blocking CNU in detail. In group 1 of layer 0 the first of four processor functions 8-3 is the read data from memory which occurs going clock cycle 1. Then, at the start of clock cycle 2, group 2 reads the memory and the second of four processor functions 8-4 performs the subtract-saturate-subtract function for group 1. During clock cycle 3, group 3 reads the data, while group 2 uses the subtract-saturate-subtract function and group 1 utilizes the third of the four processor functions to calculate men 8-5. During clock cycle 4, group 4 reads the data, group 3 uses the subtract-saturate-subtract function, group 2 utilizes the second of the four processor functions to the calculate men and group 1 assembles the values from min. Then, in clock cycle 5, group 1 is placed in a wait state which the remaining three groups perform the functions of the last three processor functions. This sequence continues until group 4 is assembling from men 8-9 while simultaneously groups 1-3 are in a wait state. Once group 4 has completed assembling from men 8-9, the calculation for layer 0 is complete 8-7. Now the results 8-8 from layer 0 can be applied to the four groups in layer 1 where the first of four processor functions, the read data 8-10, operates on group 1 of layer 1. Note that all four processor functions (8-3, 8-4, 8-5, and 8-6) for group 1 in layer 0 takes four clock cycles 8-1. However an additional three cycles 8-2 is required for group 0 to complete the last three processor functions. Layer 0 is completed between clock cycle 7 and clock cycle 8 8-7. In clock cycle 8, the process of calculating the LLR for layer 1 commences where the results 8-8 from the previous layer (layer 0) are used in layer 1.

FIG. 8B illustrates the Non-blocking CNU in detail. At the start 8-11 of layer 0, group 1 of layer 0 performs the first of four processor functions 8-3 which is the read data from memory that occurs during clock cycle 1. Then, at the start of clock cycle 2, group 2 reads the memory and the second of four processor functions 8-4 performs the subtract-saturate-subtract function for group 1. During clock cycle 3, group 3 reads the data, while group 2 uses the subtract-saturate-subtract function and group 1 utilizes the third of the four processor functions to calculate men 8-5. During clock cycle 4, group 4 reads the data, group 3 uses the subtract-saturate-subtract function, group 2 utilizes the second of the four processor functions to the calculate men and group 1 assembles the values from min. Then, in clock cycle 5, the LLR results 8-15 of layer −1 are applied, allowing the pipeline to continue the previous sequence. Wait states are not required in the Non-blocking CNU. The start of layer 0 aligns with the line 8-11 while layer 0 terminates at line 8-12. All four processor functions of the pipeline are being used all the time.

The Non-blocking CNU only requires 16 clock cycles to perform one iteration while the Blocking CNU requires 28 clock cycles to perform an iteration. If the time allotted to perform the LLR is fixed, the Non-blocking CNU can do more iterations than the Blocking CNU. Thus, this inventive embodiment of Non-blocking CNU can deliver a signal with fewer errors and is a more efficient system.

A block diagram of a Non-blocking check note update scheduling architecture is illustrated in FIG. 9. Incoming intrinsic symbols 9-1 are fed into memory consisting of groups 1 through 4 (9-2, 9-3, 9-4, and 9-5). This memory can also be formed registers or shift-registers. Once this memory is filled with the intrinsic symbols, the intrinsic symbols can be repetitively applied through the 4 to 1 multiplexor 9-6 to perform additional iterations. The multiplexor transfers one of the four inputs to the output of the multiplexor based on a control applied to the multiplexor. For instance, with proper control, the multiplexor can provide the data of group1 at the output of the multiplexor for a first clock cycle, the data of group2 at the output of the multiplexor for the next clock cycle, the data of group3 at the output of the multiplexor for the next clock cycle, the data of group4 at the output of the multiplexor for the next clock cycle, and the data of group1 at the output of the multiplexor for the next clock cycle, constantly cycling in a loop. An iteration is performed when the data cycles through the data group1-4 once.

The pipeline consists of the following processors that are series coupled: P1 9-7; P2 9-8; P3 9-9; and P4 9-10. The functions that these processors P1-4 perform are identified in the insert 9-15. The output of this pipeline is available at 9-13 and is also applied to the 1-4 de-multiplexor. For instance, with proper control, the de-multiplexor can provide the output of the pipeline to the input of Memory1 for a first clock cycle, the de-multiplexor can write the output of the pipeline to the input of Memory2 for a second clock cycle, the de-multiplexor can write the output of the pipeline to the input of Memory3 for a next clock cycle, the de-multiplexor can write the output of the pipeline to the input of Memory4 for a next clock cycle, the de-multiplexor can write the output of the pipeline to the input of Memory1 for a next clock cycle, constantly cycling in a loop. An iteration is performed when the all four memories are written once. In summary, the de-multiplexor applies the output result of P4 9-10 to one of four memories where memory1 9-19 stores the results of group 1 calculations, memory2 9-20 stores the results of group 2 calculations, memory3 9-21 stores the results of group 3 calculations, and memory4 9-22 stores the results of group 4 calculations. The functions of the processors P1, P2, P3, and P4 in the pipeline are identified in inset 9-15.

The 4-1 multiplexor 9-17 applies one of the earlier stored results of all group 1 calculations stored in memory1 9-19 to P1 9-7, one of the earlier stored results of all group 2 calculations stored in memory2 9-20 to P1 9-7, one of the earlier stored results of all group 3 calculations stored in memory3 9-21 to P1 9-7, and one of the earlier stored results of all group 4 calculations stored in memory4 9-24 to P1 9-7, in sequential order. The earlier stored results read from memory can be the calculations performed in the pipeline from two or more earlier layers.

The selector function of the two multiplexors 9-6, 9-17 and the de-multiplexor 9-18 have characteristics of a memory interaction. For instance, to write a data bit into a content of a particular memory cell in a memory array, a de-multiplexor operation occurs to present the data bit to that particular memory cell. Furthermore, to read the contents of a particular memory cell in a memory array, a multiplexor operation occurs to present the data bit which was in that particular memory cell at the output of the memory. The read and write logical structures of a memory are similar to the multiplexor and de-multiplexor operations. Thus, all of the components of the multiplexor 9-17 and 9-6, de-multiplexor 9-18, memories 9-19 through 9-22, and the memories of the data of group1-4 located dotted boxes 9-11 a and 9-11 b can be included inside one memory. This transfers the hardware of the system in FIG. 9 into a simpler physical model at the expense of increasing the software complexity of the system.

FIG. 10A illustrates a table describing a layered Blocking CNU decoder having three wait states per layer. The BPSK constellations require 192 cycles to perform the LLR while QPSK only requires 96 cycles. The architecture is clock at a cycle rate of 440 MHz, uses an offset Min-Sum algorithm, and uses four core pipeline processors where each “number” in the macro-matrix of FIG. 6B corresponds to a 42×42 cyclically shifted identity matrix which is a shifted version of an identity matrix. The architecture operates at a coding rate of 1/2, 5/8, 3/4, and 13/16 and requires 27, 26, 28 and 21 cycle cycles to perform the decoding. The maximum number of iterations to decode a BPSK constellation is 7, 7, 6, and 9 and a QPSK constellation is 3, 3, 3, and 4 when the architecture operates at a coding rate of 1/2, 5/8, 3/4, and 13/16.

FIG. 10B illustrates a table describing a layered Non-blocking decoder having wait-less states of operation. The architecture is clock at a cycle rate of 440 MHz, uses an offset Min-Sum algorithm, and uses four core pipeline processors where each “number” in the macro-matrix of FIG. 6B corresponds to a 42×42 cyclically shifted identity matrix which is a shifted version of an identity matrix. The architecture operates at a coding rate of 1/2, 5/8, 3/4, and 13/16 and requires 16, 16, 16 and 12 cycle cycles to perform the decoding. The maximum number of iterations to decode a BPSK constellation is 11, 11, 11, and 15 and a QPSK constellation is 5, 5, 5, and 7 when the architecture operates at a coding rate of 1/2, 5/8, 3/4, and 13/16.

Finally, it is understood that the above descriptions are only illustrative of the principle of the current invention. Various alterations, improvements, and modifications will occur and are intended to be suggested hereby, and are within the spirit and scope of the invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that the disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the arts. It is understood that the various embodiments of the invention, although different, are not mutually exclusive. In accordance with these principles, those skilled in the art may devise numerous modifications without departing from the spirit and scope of the invention. In addition, this inventive embodiment has the potential to improve overall performance when calculating additive functions where the particular order of calculation does not affect the final result, for example, adders, multipliers, etc. 

What is claimed is:
 1. An apparatus for communication systems comprising: a first processor of a plurality of processors, a last processor of said plurality of processors; remaining processors of said plurality of processors coupled in series between said first processor and said last processor; an output of said last processor coupled to an input of a de-multiplexor; a plurality of memories each coupled to a corresponding output of said de-multiplexor; each input of a first multiplexor coupled to an output of a corresponding memory of said plurality of memories; and an output of said first multiplexor coupled to a first input of said first processor.
 2. The apparatus of claim 1, further comprising: a plurality of registers each storing a different portion of a plurality of data symbols; each input of a second multiplexor coupled to an output of each corresponding said plurality of registers; and an output of said second multiplexor coupled to a second input of said first processor.
 3. The apparatus of claim 2, wherein said plurality of registers configured to behave as shift registers when storing incoming symbols.
 4. The apparatus of claim 2, wherein an iteration requires a number of clock cycles equal to a product of a count of said plurality of processors and a count of said plurality of registers.
 5. The apparatus of claim 4, wherein a fraction of said data symbols are randomly corrupted symbols.
 6. The apparatus of claim 5, wherein a log-likelihood ratio (LLR) is generated at said output of said last processor.
 7. The apparatus of claim 6, wherein said LLRs correct said randomly corrupted symbols.
 8. The apparatus of claim 1, wherein one of said plurality of memories is configured to be enabled.
 9. The apparatus of claim 1, wherein each of said plurality of processors perform a different function.
 10. A method of improving characteristics of a communication system comprising the steps of: coupling a plurality of processors in a pipeline structure; coupling an output of a last processor in said pipeline structure to an input of a memory; coupling an output of said memory to an input of a first processor in said pipeline structure; applying a stored result read from memory to a first processor in said pipeline; calculating a calculated result of said stored result at said output of said last processor; and storing said calculated result into said memory, wherein said stored result was calculated by said pipeline two or more calculated results earlier.
 11. The method of claim 10, further comprising the steps of: distributing equal portions of a plurality of data symbols among a corresponding plurality of registers; coupling each input of a multiplexor to an output of each one of said corresponding plurality of registers; and coupling an output of said multiplexor to a second input of said first processor in said pipeline structure.
 12. The method of claim 11, wherein an iteration requires a number of clock cycles equal to a product of a count of said plurality of processors and a count of said plurality of registers.
 13. The method of claim 11, wherein a fraction of said data symbols are randomly corrupted symbols.
 14. The method of claim 13, wherein a log-likelihood ratio (LLR) is generated at said output of said last processor.
 15. The method of claim 14, wherein said LLRs correct said randomly corrupted symbols.
 16. The method of claim 10, wherein one of said plurality of memories is configured to be enabled.
 17. The method of claim 10, wherein said plurality of registers configured to behave as shift registers when storing incoming symbols.
 18. The method of claim 10, wherein each of said plurality of processors perform a different function.
 19. An apparatus for communication systems comprising: a plurality of processors coupled in a pipeline structure; an output of a last processor in said pipeline structure coupled to an input of a de-multiplexor; a plurality of memories each coupled to a corresponding output of said de-multiplexor; each input of a first multiplexor coupled to an output of a corresponding memory of said plurality of memories; an output of said first multiplexor coupled to a first input of a first processor in said pipeline structure; a plurality of registers each storing a different portion of a plurality of data symbols; each input of a second multiplexor coupled to an output of each corresponding said plurality of registers; and an output of said second multiplexor coupled to a second input of said first processor.
 20. The apparatus of claim 19, wherein each of said plurality of processors perform a different function, and a log-likelihood ratio (LLR) is generated at said output of said last processor 